#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: JobBoard Enterprise
 * Module: Jb.Web 
 * Name: lead.cs
 * Purpose: ViewModel class for lead
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  06/12/2015
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace RH.Web.ViewModels
{
    [Serializable]
	public class LeadViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}
        [Display(Name = "Lead Type")] 
        public int LeadTypeID { get; set;}
            
        [Display(Name = "User")] 
		public String UserID	{ get; set; }
            
        [Display(Name = "Product")] 
		public String ProductID	{ get; set; }
            
        [StringLength(600, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Interested On")] 
		public String InterestedOn	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Want Loan")]
        [Display(Name = "Want Loan")] 
		public String WantLoan	{ get; set; }
            
        [StringLength(600, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Preferred Locations")] 
		public String PreferredLocations	{ get; set; }
            
        [Display(Name = "Preferred Size From")] 
		public String PreferredSizeFrom	{ get; set; }
            
        [Display(Name = "Preferred Size To")] 
		public String PreferredSizeTo	{ get; set; }
            
        [Display(Name = "Preferred Plot Size From")] 
		public String PreferredPlotSizeFrom	{ get; set; }
            
        [Display(Name = "Preferred Plot Size To")] 
		public String PreferredPlotSizeTo	{ get; set; }
            
        [Display(Name = "Interest Level")] 
		public String InterestLevel	{ get; set; }
            
        [StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Interested Project Types")] 
		public String InterestedProjectTypes	{ get; set; }
            
        [StringLength(3000, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Feedback")] 
		public String Feedback	{ get; set; }
            
        [StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Verification Type")] 
		public String VerificationType	{ get; set; }
            
        [StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Verification Method")] 
		public String VerificationMethod	{ get; set; }
            
        [StringLength(1500, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Comment")] 
		public String Comment	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Created On")]
        [Display(Name = "Created On")] 
		public String CreatedOn	{ get; set; }
            
        [Display(Name = "Verified On")] 
		public String VerifiedOn	{ get; set; }
	}
}

